package com.sf.dlb.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 用户预警表 Entity
 *
 * Created by jing.tan on 2018/12/10.
 */
@Entity
@Table(name = "user_warning")
public class UserWarningInfo extends BaseEntity {
	private static final long serialVersionUID = 1L;
	/*
	  `user_id` varchar(64) DEFAULT NULL COMMENT '用户ID',
	  `warning_why` varchar(255) DEFAULT NULL COMMENT '预警原因',
	  `dealt_state` char(1) DEFAULT '1' COMMENT '处理状态(0已处理,1未处理,2已过期)',
	  `dealt_type` char(1) DEFAULT NULL COMMENT '处理类型',
  	  `dealt_desc` varchar(255) DEFAULT NULL COMMENT '处理描述(1-禁止3天登陆，2-冻结账号，3-回收奖励，4-忽略)',
	 */
	private String userId;                  // 用户ID
	private String warningWhy;              // 预警原因
	private String dealtState;               // 处理状态(0已处理,1未处理,2已过期)
	private String dealtType;                // 处理类型
	private String dealtDesc;                // 处理描述(1-禁止3天登陆，2-冻结账号，3-回收奖励，4-忽略)

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getWarningWhy() {
		return warningWhy;
	}

	public void setWarningWhy(String warningWhy) {
		this.warningWhy = warningWhy;
	}

	public String getDealtState() {
		return dealtState;
	}

	public void setDealtState(String dealtState) {
		this.dealtState = dealtState;
	}

	public String getDealtDesc() {
		return dealtDesc;
	}

	public void setDealtDesc(String dealtDesc) {
		this.dealtDesc = dealtDesc;
	}

	public String getDealtType() {
		return dealtType;
	}

	public void setDealtType(String dealtType) {
		this.dealtType = dealtType;
	}
}